using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class web_Controls_page_right_counter : System.Web.UI.UserControl
{
    public string _hoso = "0";
    public string _dn = "0";
    public string _td = "0";
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            Common _common = new Common();
            _hoso = _common.execScalar("select count(A.ma_ho_so) from NguoiTimViec_ho_so as A inner join ConNguoi_nguoi as B on A.ma_nguoi = B.ma_nguoi where A.kich_hoat=1 and B.kich_hoat = 1");
            _dn = _common.execScalar("select count(ma_doanh_nghiep) from DoanhNghiep_doanh_nghiep where kich_hoat=1 ");
            _td = _common.execScalar("select count(ma_ho_so) from ViecLamTrong_ho_so_tuyen_dung where kich_hoat = 1");
        }
        catch (Exception)
        {
            throw;
        }
    }
}
